 <template>
  <div>
    <header>
      <h1 v-for="item in list">{{ item.name }}</h1>
    </header>
  </div>
</template>
 <script>
export default {
  props: ["list"],
  data() {
    return {};
  },
  methods: {},
  computed: {},
};
</script>
 <style lang='css'>
* {
  margin: 0;
  padding: 0;
}
header {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 5rem;
  background: red;
}
</style>